<?php $this->load->view('user/view_user_mypages_menu')?>
<div id="changePassword">
<div id="InputForm">
<p>Ändra lösenord</p>
<hr />
	<?php echo validation_errors(); ?>
	<?php if(isset($error))  
	echo $error; ?>
	<?php echo form_open('user/userinformation/savepassword');?>
	
		<ul>
			<div>
					<?php echo '<input type="hidden" name="txtID" value="'.$ID.'"/>' ?>
					
				<li>
					<label>Gammallt lösenord:</label>  
				</li>				
				<li>
					<?php echo form_input(array('id'=>'oldPassword','name'=>'oldPassword')); ?>
				</li>
				<li>
					<label>Nytt lösenord:</label> 
				</li>
				<li>
					<?php echo form_input(array('id'=>'newPassword','name'=>'newPassword')); ?> 
				</li>
				<li>
					<label>Bekräfta det nya lösenordet:</label> 
				</li>
				<li>
					<?php echo form_input(array('id'=>'newPasswordConfirm','name'=>'newPasswordConfirm')); ?>
				</li>
				<li>
					<?php echo form_submit(array('id'=>'changePassword', 'name'=>'changePassword'),'Spara ändringen'); ?>
				</li>
			</div>
		
	
	</ul>
</div>
</div>